-- GENERATED SPELL FOR [Coldmine Peon] --


function spell0_13316(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13316', 30347, 1)
end

function Sorts_13316(pUnit, Event)
local choix_sorts_13316 = math.random(0, 0)
if choix_sorts_13316 == 0 then
pUnit:RegisterEvent('spell0_13316', 1, 1)
end
end

function mob13316_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13316', math.random(1500, 3000), 1)
end

function mob13316_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13316_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13316_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13316, 1, 'mob13316_Action')
RegisterUnitEvent(13316, 2, 'mob13316_Leave')
RegisterUnitEvent(13316, 3, 'mob13316_Kill')
RegisterUnitEvent(13316, 4, 'mob13316_Die')
